An IFL application can use the ffffiiiinnnnddddNNNNeeeexxxxtttt(), ffffiiiinnnnddddBBBByyyyMMMMaaaaggggiiiicccc(),
ffffiiiinnnnddddBBBByyyyFFFFoooorrrrmmmmaaaattttNNNNaaaammmmeeee() and ffffiiiinnnnddddBBBByyyyFFFFiiiilllleeeeNNNNaaaammmmeeee() functions to step through all
supported file formats, or to look up an image file format by format
name, file name, or file magic number. The return value of each of these
functions is an iflFormat* pointing to the single static object of the
appropriate subclass of iflFormat (such as iflTIFFFormat).
ggggeeeettttPPPPrrrreeeeffffeeeerrrrrrrreeeeddddCCCCoooommmmpppprrrreeeessssssssiiiioooonnnn(), ggggeeeettttPPPPrrrreeeeffffeeeerrrrrrrreeeeddddPPPPaaaaggggeeeeSSSSiiiizzzzeeee() and nnnneeeewwwwffffiiiilllleeeeoooobbbbjjjj(). This
will fully characterize the format, and, via nnnneeeewwwwffffiiiilllleeeeoooobbbbjjjj(), will tell
iiiiffffllllFFFFiiiilllleeee::::::::ooooppppeeeennnn() how to create an iflFile of this format's type.
Each image file format subclass format is expected to declare a single
static object of its derived type. The base class constructor invoked
automatically when the DSO is opened (becuase of the static object
declaration) will put the derived format on the global format list as
part of its initialization.
If you instal ifl_dev.sw.gifts then you can check out the source code
provided in /usr/share/src/ifl for more examples of deriving from
This member function returns TRUE if the DSO loaded is the same of
newer than the indicated major and minor version numbers.
hhhhaaaavvvveeeeIIIICCCCCCCC(((())))
int haveICC()
This member function returns TRUE if the DSO loaded supports the ICC
methods: ggggeeeettttIIIICCCCCCCCPPPPrrrrooooffffiiiilllleeee(), ffffrrrreeeeeeeeIIIICCCCCCCCPPPPrrrrooooffffiiiilllleeee() and sssseeeettttIIIICCCCCCCCPPPPrrrrooooffffiiiilllleeee().